package com.atjava.nebula.core.constant;

public interface Constant {
	
	/**
	 * 加载的spring配置文件
	
	public static final String SPRING_CONTEXT = "/WebRoot/WEB-INF/config/spring/applicationContext-*.xml";
	public static final String[] SPRING_CONTEXTS = {
		"/WebRoot/WEB-INF/config/spring/applicationContext-resources.xml",
		"/WebRoot/WEB-INF/config/spring/applicationContext-*.xml"
	}; */
	//public static final String SPRING_CONTEXT_BS = "WEB-INF/config/spring/applicationContext-*.xml";

	// XJO类所在的包路径
	public static final String XJO_PREFIX = "com.atjava.nebula.core.tablexml.model." ;
	
	public static final String MODEL_XMLNS_NAME = "Nebula";
	public static final String MODEL_XMLNS_URL = "http://www.atjava.com";
	
	// 主键参数名称 
	//public static final String PK_ID = "_table_pk" ;
	// 多主键串里，主键间分隔符
	public static final String PK_SEPARATOR=" , ";
	public static final String PK_SEPARATOR_REGEX=" , ";//用于split时的正式表达式
	
	/**
	 * 指定根角色名称，该角色只对开发人员开放（注意总长度必需是32位）
	 */
	//public static final String ROLE_ROOT_PROGRAM = "ROLE_ROOT_PROGRAM               ";
	//为了适应windows和linux的文件夹互换
	//public static final String SEPARATOR = "+-==-+";
	
	public static final String DEFAULT_DATE_FORMAT = "yyyy/MM/dd";
	
	public static final String DEFAULT_TIME_FORMAT = "yyyy/MM/dd HH:mm:ss";
}
